package com.hnhs.demo.dao;

import com.hnhs.demo.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    @Select("select * from tb_user")
    public List<User> findAll();

    public List<User> select();

    public Integer insert(User user);

    public Integer update(User user);
}
